#ifndef MYNODEINFO_H
#define MYNODEINFO_H

#include <QWidget>
#include <QLabel>
#include <QVBoxLayout>

class myNodeInfo : public QWidget
{
    Q_OBJECT
private:
    QLabel *m_ID;
    QLabel *m_name;
    QLabel *m_address;
    QLabel *m_rating;
    QLabel *m_rateNum;
public:
    explicit myNodeInfo(QWidget *parent = nullptr);
    void setID(int ID);
    void setName(std::string name);
    void setAddress(std::string address);
    void setRating(double rating);
    void setRateNum(double rateNum);
public slots:
};

#endif // MYNODEINFO_H
